/**
 * @Description: 
 * @Project: igate320_sv_v3
 * com.yhte.igate.init.InitServlet.java
 * Copyright(c) YHTE
 * http://www.yhte.net/
 * @date 2011-6-10下午12:48:52
 * @author sunsu
 * @version 0.1
 */
package com.common;

import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;

import org.springframework.web.context.ContextLoader;
import org.springframework.web.context.WebApplicationContext;

/**
 * @ClassName: InitServlet.java
 * @Description: 初始化数据字典数据
 */
public class InitServlet extends HttpServlet {

    private static final long serialVersionUID = 1L;

    /* (non-Javadoc)
	 * @see javax.servlet.GenericServlet#init(javax.servlet.ServletConfig)
	 */
	@Override
	public void init(ServletConfig config) throws ServletException {
		super.init(config);
		
		//获取Spring配置上下文
		WebApplicationContext context = ContextLoader.getCurrentWebApplicationContext();
		
		
	}

	/* (non-Javadoc)
	 * @see javax.servlet.GenericServlet#destroy()
	 */
	@Override
	public void destroy() {
		
	}

}
